package com.slipper.codeless.controller;

import com.slipper.system.icon.service.IconService;
import com.slipper.util.ResultUtil;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/icon")
public class IconApiController {
    @Resource
    private IconService iconService;

    @PostMapping("/list")
    public String queryList() {
        return ResultUtil.successResult(this.iconService.queryAll());
    }
}
